package com.ruoyi.client.service.impl;

import com.ruoyi.client.domain.PayPlan;
import com.ruoyi.client.mapper.PayPlanMapper;
import com.ruoyi.client.service.IPayPlanService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class PayPlanServiceImpl implements IPayPlanService {
    @Autowired
    private PayPlanMapper payPlanMapper;
    @Override
    public void add(PayPlan payPlan) {
        payPlanMapper.add(payPlan);
    }

    @Override
    public PayPlan selectPayPlan(String number) {
        return payPlanMapper.selectPayPlan(number);
    }
}
